import React from 'react';
import loadable from '@loadable/component';
import Loading from '../Loading';

const LoadableComponent = loadable(() => import('./Home'), {
  fallback: <Loading text="home loading" />,
});

export default class extends React.Component {
  render() {
    return <LoadableComponent />;
  }
}
